package com.aaa.doctor.service;

import com.aaa.doctor.vo.RegistrationVo;
import com.aaa.entity.Patient;
import com.aaa.entity.Registration;
import com.aaa.vo.Result;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @version 1.8.0_181
 * @Author ZXJ
 * @Date 2023/3/26 14:43
 * @注释
 */
public interface RegistrationService {
    Result<IPage<Registration>> listRegistration(Integer currentPage, Integer pageSize, RegistrationVo registrationVo);


    Result<Integer> handleCollect(String registrationId);

    Result<Integer> handleInvalid(String registrationId);

    Result<Integer> handleReturn(String registrationId);

    Result<List<Registration>> queryToBeSeenRegistration(String schedulingType);

    Result<List<Registration>> queryVisitingRegistration(String schedulingType);

    Result<List<Registration>> queryVisitCompletedRegistration(String schedulingType);

    Result<String> handleVisit(String registrationId);

    Result<String> getRegId(String registrationId);

    Result<String> wcjz(String registrationId);


    Integer getRagNumber(Long deptId);

    //Result<Patient> getByRegId(String registrationId);
}
